import React, { Component } from 'react';
import { View, Text, Image } from 'react-native';

export default class NoDataView extends Component {
    constructor(props) {
        super(props);
        this.state = {
        };
    }
    render() {
        let { title } = this.props
        return (
            <View style={{ flex:1, backgroundColor: "#f5f5f5", flexDirection: 'column', justifyContent: 'center' ,alignItems:'center'}}>
                <Image style={{ width: 130, height: 130, backgroundColor: '#999999' }} />
                <Text style={{ marginTop:20,fontSize: 14, color: '#99999' }}>{title}</Text>
            </View>
        );
    }
}